package eu.dominicum.ft.pd.mao;

import eu.dominicum.ft.pd.StageResult;
import eu.dominicum.ft.pd.TeamMember;

import javax.validation.constraints.NotNull;

/**
 * Method Arguments Object for method {@link StageResult#make(MakeStageResultMAO)}.
 *
 * @author Harry Klerks
 * @since 2013M1
 */
public final class MakeStageResultDetailMAO {

    /**
     * Rank.
     */
    @NotNull(message = "Positie van uitslag detail moet een waarde hebben")
    private Integer rank;

    /**
     * Points.
     */
    private Integer points;

    /**
     * Yersey number.
     */
    @NotNull(message = "Rugnummer in een uitslagdetail moet een waarde hebben")
    private Integer yerseyNumber;

    /**
     * StageResult.
     */
    private StageResult stageResult;

    /**
     * TeamMember.
     */
    private TeamMember teamMember;

    /**
     * .
     *
     * @param newRank -
     */
    public void setRank(final Integer newRank) {
        this.rank = newRank;
    }

    /**
     * .
     *
     * @return Integer
     */
    public Integer getRank() {
        return rank;
    }

    /**
     * .
     *
     * @param newPoints -
     */
    public void setPoints(final Integer newPoints) {
        this.points = newPoints;
    }

    /**
     * .
     *
     * @return Integer
     */
    public Integer getPoints() {
        return points;
    }

    /**
     * .
     *
     * @param newYerseyNumber -
     */
    public void setYerseyNumber(final Integer newYerseyNumber) {
        this.yerseyNumber = newYerseyNumber;
    }

    /**
     * .
     *
     * @return Integer
     */
    public Integer getYerseyNumber() {
        return yerseyNumber;
    }

    /**
     * .
     *
     * @return StageResult
     */
    public StageResult getStageResult() {
        return stageResult;
    }

    /**
     * .
     *
     * @param newStageResult -
     */
    public void setStageResult(final StageResult newStageResult) {
        this.stageResult = newStageResult;
    }

    /**
     * .
     *
     * @return TeamMember
     */
    public TeamMember getTeamMember() {
        return teamMember;
    }

    /**
     * .
     *
     * @param newTeamMember -
     */
    public void setTeamMember(final TeamMember newTeamMember) {
        this.teamMember = newTeamMember;
    }
}
